package com.itms.mapper;

import com.itms.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface CustomerMapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(BigDecimal id);

    Customer selectByCustomerCode(@Param("customerCode") String code,@Param("isValid")String isValid);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);
}